package org.minbox.framework.microservice.common.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import org.minbox.framework.microservice.common.entity.UserInfo;

/**
 * 用户基本信息
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DUserInfo extends TableExpression<UserInfo> {

    public DUserInfo(String root) {
        super(root);
    }

    public static DUserInfo DSL() {
        return new DUserInfo("user_info");
    }

    /**
     * 
     */
    public ColumnExpression id = new ColumnExpression("ui_id", this);
    /**
     * 名称
     */
    public ColumnExpression name = new ColumnExpression("ui_name", this);
    /**
     * 手机号
     */
    public ColumnExpression phone = new ColumnExpression("ui_phone", this);
    /**
     * 邮箱
     */
    public ColumnExpression email = new ColumnExpression("ui_email", this);
    /**
     * 地址
     */
    public ColumnExpression address = new ColumnExpression("ui_address", this);
    /**
     * 状态
     */
    public ColumnExpression status = new ColumnExpression("ui_status", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("ui_create_time", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{id, name, phone, email, address, status, createTime};
    }

}

